projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
34db80c
)
testgtk: Compile without warnings on win32
author
Benjamin Otte
<otte@gnome.org>
Sun, 7 Feb 2016 18:18:18 +0000
(19:18 +0100)
committer
Benjamin Otte
<otte@redhat.com>
Thu, 11 Feb 2016 02:44:47 +0000
(
03:44
+0100)
tests/testgtk.c
patch
|
blob
|
history
diff --git
a/tests/testgtk.c
b/tests/testgtk.c
index a4ef9b216d3f23f3d1760b2c750fd9b468e8b619..32a831a476dfdb15a9b3c3cecaa6b51ea553588b 100644
(file)
--- a/
tests/testgtk.c
+++ b/
tests/testgtk.c
@@
-4948,6
+4948,7
@@
static void
change_cursor_theme (GtkWidget *widget,
gpointer data)
{
+#if defined(GDK_WINDOWING_X11) || defined (GDK_WINDOWING_WAYLAND)
const gchar *theme;
gint size;
GList *children;
@@
-4969,6
+4970,7
@@
change_cursor_theme (GtkWidget *widget,
if (GDK_IS_WAYLAND_DISPLAY (display))
gdk_wayland_display_set_cursor_theme (display, theme, size);
#endif
+#endif
}